/**
 * @file Text constant
 * @description 用于全局路由请求的响应文案
 * @module constant/text
 * @author Surmon <https://github.com/surmon-china>
 */

export const HTTP_ERROR_SUFFIX = '失败'
export const HTTP_SUCCESS_SUFFIX = '成功'
export const HTTP_DEFAULT_TEXT = '数据请求'
export const HTTP_DEFAULT_ERROR_TEXT = HTTP_DEFAULT_TEXT + HTTP_ERROR_SUFFIX
export const HTTP_DEFAULT_SUCCESS_TEXT = HTTP_DEFAULT_TEXT + HTTP_SUCCESS_SUFFIX

export const HTTP_ANONYMOUS_TEXT = '来者何人'
export const HTTP_UNAUTHORIZED_TEXT_DEFAULT = '权限验证失败'
export const HTTP_BAD_REQUEST_TEXT_DEFAULT = '未知错误'
export const HTTP_PARAMS_PERMISSION_ERROR_DEFAULT = '无权使用参数'

export const VALIDATION_ERROR_DEFAULT = '参数验证失败'
